// 引入封装的请求服务
import { POST, UPLOAD } from '@/services/request.js'

const base = {
    contacttype (data = {}) {
        return POST({
            url: '/contact/contact/type',
            params: data
        })
    },
    contactadd (data = {}) {
        return POST({
            url: '/contact/contact/add',
            params: data
        })
    },
    contactindex (data = {}) {
        return POST({
            url: '/contact/contact/index',
            params: data
        })
    },
    contactinfo (data = {}) {
        return POST({
            url: '/contact/contact/info',
            params: data
        })
    },
    contactupdate (data = {}) {
        return POST({
            url: '/contact/contact/update',
            params: data
        })
    },
    contactdel (data = {}) {
        return POST({
            url: '/contact/contact/del',
            params: data
        })
    }
}

export default base;